package edu.kjxy.day02Synchronized.t1;

/**
 * 功能:
 * 作者:程序员欧阳子韩
 * 日期:2024/2/1 18:12
 */
public class ThreadA extends Thread{
    private HasSelfPrivateNum numRef;
    public ThreadA(HasSelfPrivateNum numRef){
        super();
        this.numRef = numRef;
    }

    @Override
    public void run() {
        super.run();
        numRef.addI("a");
    }
}
